package com.acoffee.mapper;

import com.acoffee.pojo.RbacRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author acoffee
 * @create 2021-11-27 15:30
 */
@Mapper
@Repository
public interface RbacRoleMapper {

    List<RbacRole> queryAll();

    RbacRole queryOne(int id);

    boolean updateOne(RbacRole role);

    boolean addOne(RbacRole role);

    boolean deleteOne(int id);
}

